/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.common.nonlitigation.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.framework.mybatis.mapper.annotation.Before;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 描述: 非诉执行记录表 case_non_litigation_execute_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 *
 * @author framework generator
 * @date 2022年04月07日
 */
@Data
@Table(name = "upcase.case_non_litigation_execute_record")
public class CaseNonLitigationExecuteRecord implements Serializable {
    @Id
    @Column(name = "id")
    @Before
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 执行法院code
     */
    @Column(name = "execute_court_code")
    private String executeCourtCode;

    /**
     * 执行法院名称
     */
    @Column(name = "execute_court_name")
    private String executeCourtName;

    /**
     * 执行内容
     */
    @Column(name = "execute_content")
    private String executeContent;

    /**
     * 执行结果：0失败 1成功
     */
    @Column(name = "execute_result")
    private String executeResult;
    /**
     * 执行状态 0代受理 1已受理 2 已裁决
     */
    @Column(name = "execute_status")
    private String executeStatus;
    /**
     * 创建人id
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
         * 创建人姓名
     */
    @Column(name = "create_user_name")
    private String createUserName;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 执行失败的原因
     */
    @Column(name = "execute_fail_reason")
    private String executeFailReason;
    /**
     * 非诉立案ID标识
     */
    @Column(name = "non_litigation_case_id")
    private String nonLitigationCaseId;
    /**
     * 更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
    /**
     * 裁决时间
     */
    @Column(name = "decision_date")
    private LocalDate decisionDate;
    /**
     * 法院裁决书地址id
     */
    @Column(name = "decision_document_url_id")
    private String decisionDocumentUrlId;
    /**
     * 裁决书文号
     */
    @Column(name = "decision_document_number")
    private String decisionDocumentNumber;
    private static final long serialVersionUID = 1L;

}
